package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.CompanyInfo;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.CompanyInfoVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 * 客户信息 服务类
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-05-23
 */
public interface CompanyInfoService extends IService<CompanyInfo> {

    List<CompanyInfoVo> getList(CompanyInfoVo vo, Page<CompanyInfoVo> pagination);

    List<CompanyInfoVo> getCompanyInfoVoJson(Page<CompanyInfoVo> page, CompanyInfoVo vo);

    ResultUtil<T> checkInfo(CompanyInfo info);

    ResultUtil<T> addRet(CompanyInfo info);

    ResultUtil<T> updateRet(CompanyInfo info);

    ResultUtil<T> updateDelete(Long id);

    List<CompanyInfo> getDriverCompanyList();

    List<CompanyInfoVo> getCompanyList(CompanyInfoVo vo);

}
